<html>  
 2     <head>  
 3         <meta charset="utf-8">
 4         <title>Alert</title>  
 5     </head>  
 6     <body>  
 7         <input id = "alert" value = "alert" type = "button" onclick = "alert('您关注selenium Python吗？');"/>  
 8         <input id = "confirm" value = "confirm" type = "button" onclick = "confirm('确定关注selenium Python？');"/>  
 9         <input id = "prompt" value = "prompt" type = "button" onclick = "var name = prompt('请输入:','selenium Python'); document.write(name) "/>    
10     </body>   
11 </html> 